#pragma once
#include "../Ode.h"

namespace Skill
{
	namespace Ode
	{		
		ref class DVector3;
		public ref class DAabb : DIUnmanagedPointer
		{
			INTERNAL_CLASS_DECLARATION(DAabb,dReal);
		public:
			UNMANAGEDPOINTER_DECLARATION();

			DAabb();
			DAabb(DVector3^ min , DVector3^ max);

			REF_PROP_DECLARATION_GETSET(DVector3,Min);
			REF_PROP_DECLARATION_GETSET(DVector3,Max);

			VALUE_PROP_DECLARATION_GETSET(dReal,MinX);
			VALUE_PROP_DECLARATION_GETSET(dReal,MinY);
			VALUE_PROP_DECLARATION_GETSET(dReal,MinZ);

			VALUE_PROP_DECLARATION_GETSET(dReal,MaxX);
			VALUE_PROP_DECLARATION_GETSET(dReal,MaxY);
			VALUE_PROP_DECLARATION_GETSET(dReal,MaxZ);

		};		
	}
}